﻿<html>
<head>
    <script src="../js/public.js"></script>
    <script src="../js/jquery-3.2.1.min.js"></script>
<script type="text/javascript">
    $(document).ready(function () {
        $("button").click(function () {


            var objEmLogin = new Object();
            objEmLogin.empAccount = 'admin';
            objEmLogin.pwd = '123456';
            myAjax("Login.ashx", "", objEmLogin, true, function (data) {
                console.log(data);
            }, function () {
                layer.msg('发生了一些预期之外的错误，请检查网络是否能连接到服务器');
            });

        });
    });
</script>
</head>

<body>
<h2>这是一个用来调试接口的页面</h2>
<p>This is a paragraph.</p>
<p></p>
<button type="button">Click me</button>
</body>
</html> 
